package cn.ncupyh;

public class Calculate1 {
    public static void main(String[] args) {
        int add = Add(5, 10);
        int minis = Minis(10, 5);
    }

    private static int Minis(int n, int m) {
        return n - m;
    }

    public static int Add(int n, int m) {
        return n + m;
    }


    class Calculate2 {
        public  void main(String[] args) {
            divid(10,2);
            mul(2,5);
        }

        private int mul(int n, int m) {
            return n*m;
        }

        private int divid(int n, int m) {
            return n/m;
        }
    }
}
